package com.ants.platform.core.utils;

import java.util.Locale;

/**
 * 获取机器基本硬件信息
 * 以及设置信息
 * Created by liushun on 2016/7/30.
 */
public class SystemUtil {

    //获取电脑语言代码
    public static String Language(){
        Locale locale = Locale.getDefault();
        return locale.getLanguage();
    }

    //获取电脑国家代码
    public static String Country(){
        Locale locale = Locale.getDefault();
        return locale.getCountry();
    }
}
